Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: AuthorizedEvent.RemoveAllRoles

Scoped Name

APIServer.AuthorizedEvents.RemoveAllRoles

Interface

Field Variable ...as Description
AuthorizedEventSurrogate Input Input Uniquely identifies the authorized event you want to remove the role from.

Mandatory.

Description

This API removes all roles from the specified authorized event.

This means that the specified event no longer will be authorized by any roles. Unless you at the same time set new roles or set the event to inactive, no users will have access to the event.

If you do not have the AuthorizedEventSurrogate, you can obtain it by calling AuthorizedEvent.GetEventBySiteName API.

Events

WSE0100 - Role not found

WSE0256 - Authorized event not found

Universal events